Reflection .NET API
Attachmate.Reflection Assembly / Attachmate.Reflection.Web.Msie Namespace / IWebDocument Interface / InvokeScript Method / InvokeScript(String,Object[]) Method
Name of the script function.
The array of script function's arguments.


In This Topic
InvokeScript(String,Object[]) Method
In This Topic
Executes an Active Scripting function (with arguments) defined in an HTML page.
Syntax
'Declaration
 
Overloads Function InvokeScript( _
   ByVal scriptName As String, _
   ByVal arguments() As Object _
) As Object
 
'Usage
 
Dim instance As IWebDocument
Dim scriptName As String
Dim arguments() As Object
Dim value As Object
 
value = instance.InvokeScript(scriptName, arguments)

Parameters

scriptName
Name of the script function.
arguments
The array of script function's arguments.

Return Value

The object returned by the Active Scripting call.
See Also